package com.friendsystem.model;



public class Friendship {
    private String friendshipId;
    private String userId;
    private String friendId;
    private String status; // "pending", "accepted", "rejected"
    private long timestamp;

    // 构造方法、getter和setter
    public Friendship() {}

    public Friendship(String userId, String friendId) {
        this.userId = userId;
        this.friendId = friendId;
        this.status = "pending";
        this.timestamp = System.currentTimeMillis();
    }

    // getters and setters...
}